From beac7f506cb3f0ac3ce5da1e53927ac45259f7cc Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 22 Aug 2007 22:39:10 +0000 Subject: [PATCH] (vc-menu-map-filter): Reapply 2007-08-06 bugfix. --- lisp/vc-hooks.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/vc-hooks.el b/lisp/vc-hooks.el index c206d5e953c..7e830d7d168 100644 --- a/lisp/vc-hooks.el +++ b/lisp/vc-hooks.el @@ -964,7 +964,8 @@ Used in `find-file-not-found-functions'." (if (and (symbolp orig-binding) (fboundp orig-binding)) (setq orig-binding (indirect-function orig-binding))) (let ((ext-binding - (if vc-mode (vc-call extra-menu buffer-file-name)))) + (if vc-mode (vc-call-backend (vc-backend buffer-file-name) + 'extra-menu)))) ;; Give the VC backend a chance to add menu entries ;; specific for that backend. (if (null ext-binding) -- 2.30.2